package ae.pcfc.etks.online.common.domain;

import static javax.persistence.GenerationType.IDENTITY;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "T_TSC_EMIRATE_CITY")
public class TTscEmirateCity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4208200748631142102L;

	public TTscEmirateCity() {

	}

	private String emirateCode;
	private String emirateCityCode;
	private String emirateCityName;
	private String emirateCityNameArb;
	private String emirateCityCreatedUser;
	private Date emirateCityCreatedTime;
	private String emirateCityModifiedUser;
	private Date emirateCityModifiedTime;

	@Column(name = "EMIRATE_CODE", length = 10)
	public String getEmirateCode() {
		return emirateCode;
	}

	public void setEmirateCode(String emirateCode) {
		this.emirateCode = emirateCode;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "EMIRATE_CITY_CODE", unique = true, nullable = false, length = 10)
	public String getEmirateCityCode() {
		return emirateCityCode;
	}

	public void setEmirateCityCode(String emirateCityCode) {
		this.emirateCityCode = emirateCityCode;
	}

	@Column(name = "EMIRATE_CITY_NAME", length = 30)
	public String getEmirateCityName() {
		return emirateCityName;
	}

	public void setEmirateCityName(String emirateCityName) {
		this.emirateCityName = emirateCityName;
	}

	@Column(name = "EMIRATE_CITY_NAME_ARB", length = 30)
	public String getEmirateCityNameArb() {
		return emirateCityNameArb;
	}

	public void setEmirateCityNameArb(String emirateCityNameArb) {
		this.emirateCityNameArb = emirateCityNameArb;
	}

	@Column(name = "EMIRATE_CITY_CREATEDUSER", length = 30)
	public String getEmirateCityCreatedUser() {
		return emirateCityCreatedUser;
	}

	public void setEmirateCityCreatedUser(String emirateCityCreatedUser) {
		this.emirateCityCreatedUser = emirateCityCreatedUser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "EMIRATE_CITY_CREATEDTIME")
	public Date getEmirateCityCreatedTime() {
		return emirateCityCreatedTime;
	}

	public void setEmirateCityCreatedTime(Date emirateCityCreatedTime) {
		this.emirateCityCreatedTime = emirateCityCreatedTime;
	}

	@Column(name = "EMIRATE_CITY_MODIFIEDUSER", length = 30)
	public String getEmirateCityModifiedUser() {
		return emirateCityModifiedUser;
	}

	public void setEmirateCityModifiedUser(String emirateCityModifiedUser) {
		this.emirateCityModifiedUser = emirateCityModifiedUser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "EMIRATE_CITY_MODIFIEDTIME")
	public Date getEmirateCityModifiedTime() {
		return emirateCityModifiedTime;
	}

	public void setEmirateCityModifiedTime(Date emirateCityModifiedTime) {
		this.emirateCityModifiedTime = emirateCityModifiedTime;
	}

}
